Feature: Weather Test

  @Run
  Scenario Outline: To know the weather in city
    Given send request for weather in '<city>'
    When get correct answer
    Then check answer

    Examples:
    |city|
    |Paris|
    |London|
    |Moscow|
    |Novosibirsk|

  @Run
  Scenario: Get Error 401, 1002
    Given send request with no API key
    Then answer 401, 1002

  @Run
  Scenario: Get Error 400, 1003
    Given send request with no q parameter
    Then answer 400, 1003

  @Run
  Scenario: Get Error 400, 1006
    Given send request with wrong q parameter
    Then answer 400, 1006

  @Run
  Scenario: Get Error 403, 2008
    Given send request with API key has been disabled.
    Then answer 403, 2008

